<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>明明群群的小世界</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<style type="text/css">
		@font-face {
			font-family: digit;
			src: url('digital-7_mono.ttf') format("truetype");
		}
	</style>
	<link href="css/default.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/garden.js"></script>
    <script type="text/javascript" src="js/functions.js"></script>
</head>

<body>
	<div id="mainDiv">
		<div id="content">
			<div id="code">
				<br />
				<br />
				<div class="keyword">&nbsp;&nbsp;&nbsp;&nbsp;2020年初，第一次和群群一起看电影，第一次一起吃饭，第一次一起压马路；2020年情人节，我俩相恋了。。。很幸运遇上了你，更幸运的是得到你的芳心。</div><br /><br  /><br /><br  /><br />
				<div class="keyword">&nbsp;&nbsp;&nbsp;&nbsp;三个月过去了，和你接触了很多，发现越来越离不开你。憧憬着有你的未来是多么美好，一起学习，一起旅游，一起做做饭，一起品尝每种美食，一起装饰我们的家，一起经历未来生活中的点点滴滴。。。</div>


			</div>
			<div id="loveHeart">
				<canvas id="garden"></canvas>
				<div id="words">
					<div id="messages">
						小笨蛋，我们已经相恋了
						<div id="elapseClock"></div>
					</div>
					<div id="loveu">
						&nbsp;&nbsp;&nbsp;&nbsp;山无棱,天地合,才敢与君绝<br/>
						<div class="signature">戈孔明</div>
					</div>
				</div>
			</div>
		</div>
		<div id="copyright">
			 <a href='http://www.beian.gov.cn/portal/registerSystemInfo?spm=5176.11065253.7y9jhqsfz.113.530d2c6bAbgC6V' target='_blank'> 赣ICP备20004005号</a> Copyright © 2020  戈孔明
		</div>
	</div>
	<script type="text/javascript">
		var offsetX = $("#loveHeart").width() / 2;
		var offsetY = $("#loveHeart").height() / 2 - 55;
		var together = new Date();
		together.setFullYear(2020, 1, 14);
		together.setHours(0);
		together.setMinutes(0);
		together.setSeconds(0);
		together.setMilliseconds(0);

		if (!document.createElement('canvas').getContext) {
			var msg = document.createElement("div");
			msg.id = "errorMsg";
			msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+";
			document.body.appendChild(msg);
			$("#code").css("display", "none")
			$("#copyright").css("position", "absolute");
			$("#copyright").css("bottom", "10px");
		    document.execCommand("stop");
		} else {
			setTimeout(function () {
				startHeartAnimation();
			}, 5000);

			timeElapse(together);
			setInterval(function () {
				timeElapse(together);
			}, 500);

			adjustCodePosition();
			$("#code").typewriter();
		}
	</script>
</body>
</html>
